package com.example.config;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * @author mingtian
 * @version V1.0
 * @Description 自定义注解，加上该注解。既可以将该类注入到 SpringIOC 容器中
 * @date 2019/12/9 16:36
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MyComponent {
}
